package com.lokyiu.tutorial.java.exerisce2;

public class AsphaltRoad extends Road{
	
	private final double friction = 1.1;
	private String roadType = "asphalt";
	
	public AsphaltRoad(int length){
		super(length);
	}
	
	public double getFriction() {
		return friction;
	}
	
	public void setRoadType(String roadType){
		this.roadType=roadType;
	}
	
	public String getRoadType(){
		return this.roadType;
	}
}
